package com.shaoshaohuo.app.ui.fragment;

import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.View.OnClickListener;
import android.view.ViewGroup;

import com.shaoshaohuo.app.R;
import com.shaoshaohuo.app.view.EcNavigationView;

public class EcMainFragmentWithBottonNavigation extends Fragment implements
		OnClickListener {

	@Override
	public View onCreateView(LayoutInflater inflater, ViewGroup container,
			Bundle savedInstanceState) {
		View view = inflater.inflate(R.layout.activity_ec_main_with_navigation_bottom, container, false);

		EcNavigationView navView = (EcNavigationView) view.findViewById(R.id.nav_bottom);
		navView.changeFragment(EcMainFragment.sharedInstance(""));

		return view;
	}

	@Override
	public void onClick(View v) {
		
	}

	@Override
	public void onResume() {
		super.onResume();
		Log.i("EcMainFragmentWithBottonNavigation", "resume");
	}

}
